home *** CD-ROM | disk | FTP | other *** search
/ MPEG Toolkit / MPEG Toolkit.iso / os2 / mpegenc / src / pbmplus / makefile.os2 < prev    next >
Encoding:
Makefile  |  1997-01-01  |  1.5 KB  |  54 lines

  1. # Makefile for pbmplus tools for 32 bit OS/2.
  2. #
  3. # Copyright (C) 1989, 1991 by Jef Poskanzer.
  4. # Modified for 32 bit OS/2 by Andy Key.
  5. #
  6. # Permission to use, copy, modify, and distribute this software and its
  7. # documentation for any purpose and without fee is hereby granted, provided
  8. # that the above copyright notice appear in all copies and that both that
  9. # copyright notice and this permission notice appear in supporting
  10. # documentation.  This software is provided "as is" without express or
  11. # implied warranty.
  12.  
  13. # CONFIGURE: compiler IBM C-Set++ (or older IBM C-Set/2)
  14. CC =        icc
  15.  
  16. # CONFIGURE: cc flags go here.
  17. #CFLAGS =    /DOS2 /W3 /G4 /Gd-e+m+ /Q+ /Sa /O+
  18. CFLAGS =    /DOS2 /W3 /G4 /Gd-e+m+ /Q+ /Sa /Ti+
  19.  
  20. all:        lib
  21.  
  22. # End of configurable definitions.
  23.  
  24. MAKE =        nmake
  25. MFLAGS =    -f makefile.os2
  26.  
  27. lib:
  28.         (cd pbm && $(MAKE) $(MFLAGS) "CC=$(CC)" "CFLAGS=$(CFLAGS)" lib)
  29.         copy pbm\pbm.h .
  30.         copy pbm\pbm.lib .
  31.         (cd pgm && $(MAKE) $(MFLAGS) "CC=$(CC)" "CFLAGS=$(CFLAGS)" lib)
  32.         copy pgm\pgm.h .
  33.         copy pgm\pgm.lib .
  34.         (cd ppm && $(MAKE) $(MFLAGS) "CC=$(CC)" "CFLAGS=$(CFLAGS)" lib)
  35.         copy ppm\ppm.h .
  36.         copy ppm\ppm.lib .
  37.         (cd pnm && $(MAKE) $(MFLAGS) "CC=$(CC)" "CFLAGS=$(CFLAGS)" lib)
  38.         copy pnm\pnm.h .
  39.         copy pnm\pnm.lib .
  40.  
  41. clean:
  42.         (cd pbm && $(MAKE) $(MFLAGS) clean)
  43.         del pbm.h
  44.         del pbm.lib
  45.         (cd pgm && $(MAKE) $(MFLAGS) clean)
  46.         del pgm.h
  47.         del pgm.lib
  48.         (cd ppm && $(MAKE) $(MFLAGS) clean)
  49.         del ppm.h
  50.         del ppm.lib
  51.         (cd pnm && $(MAKE) $(MFLAGS) clean)
  52.         del pnm.h
  53.         del pnm.lib
  54.